package com.contract.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.content.persistence.ContractTypeMapper;
import com.contract.model.ContractType;
import com.contract.service.ContractTypeService;

/**
 * 
 * @author tanglei
 *
 */
@Service
public class ContractTypeServiceImpl implements ContractTypeService 
{
    @Autowired
   ContractTypeMapper contractTypeMapper; 
    
    public List<ContractType> getInfoByPidA(Map param)
    {
        return contractTypeMapper.getInfoByPidA(param);
    }
    
	public List<ContractType> getInfoByPidB(Map param)
    {
        return contractTypeMapper.getInfoByPidB(param);
    }
   
	@Override
	public List<ContractType> queryInfoByPidA(String contractTypeAID) {
		return contractTypeMapper.queryInfoByPidA(contractTypeAID);
	}
	@Override
	public List<ContractType> queryInfoByPidB(Map param) {
		return contractTypeMapper.queryInfoByPidB(param);
	}
	
}
